package com.ruoyi.model.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 模型详细信息对象 model_column_info
 * 
 * @author genghz
 * @date 2021-10-20
 */
public class ModelColumnInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 字段ID */
    private Long columnId;

    /** 模型ID */
    @Excel(name = "模型ID")
    private Long modelId;

    /** 字段英文名称 */
    @Excel(name = "字段英文名称")
    private String columnCode;

    /** 字段中文名称 */
    @Excel(name = "字段中文名称")
    private String columnName;

    /** 字段类型 */
    @Excel(name = "字段类型")
    private String columnType;

    /** 字段排序 */
    @Excel(name = "字段排序")
    private Long columnOrder;

    public void setColumnId(Long columnId) 
    {
        this.columnId = columnId;
    }

    public Long getColumnId() 
    {
        return columnId;
    }
    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setColumnCode(String columnCode) 
    {
        this.columnCode = columnCode;
    }

    public String getColumnCode() 
    {
        return columnCode;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setColumnType(String columnType)
    {
        this.columnType = columnType;
    }

    public String getColumnType()
    {
        return columnType;
    }

    public void setColumnOrder(Long columnOrder)
    {
        this.columnOrder = columnOrder;
    }

    public Long getColumnOrder() 
    {
        return columnOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("columnId", getColumnId())
            .append("modelId", getModelId())
            .append("columnCode", getColumnCode())
            .append("columnName", getColumnName())
            .append("columnType", getColumnType())
            .append("columnOrder", getColumnOrder())
            .toString();
    }
}
